package com.topisv.tms.utils.enums;

public enum StatusEnums {
	
	split("=====paiu====="),
	user_type_paiu("paiu"),
	user_type_customer("customer"),
	
	FWAREHOUSE("fwarehouse"),//分仓模式
	ZWAREHOUSE("zwarehouse"),//总仓模式
	
	PARAM_PY("PY"),
	
	PARAM_PD("PD"),

	//日志表状态
	LOGS_STSTUA_FINISH("finish"),//完成
	LOGS_STSTUA_WORKING("working"),//完成
	LOGS_WORKTYPE_PRINT("print"),//打印
	LOGS_WORKTYPE_BILLSADDED("billsadded"),//单据入盒
	LOGS_WORKTYPE_GOODSADDED("goodsadded"),//货品上架
	LOGS_WORKTYPE_PAIRING("pairing"),//配单
	LOGS_WORKTYPE_PACKAGING("packaging"),//包装
	LOGS_WORKTYPE_SENDOUT("sendout"),//发货
	
	//订单状态与作业类型
	ORDERS_STSTUA_PENDING("pending"),//等待
	ORDERS_STSTUA_WORKING("working"),//进行中
	ORDERS_STSTUA_FINISH("finish"),//完成
	ORDERS_WORKTYPE_PRINT("print"),//打印
	ORDERS_WORKTYPE_BILLSADDED("billsadded"),//单据入盒
	ORDERS_WORKTYPE_GOODSADDED("goodsadded"),//货品上架	
	ORDERS_WORKTYPE_PAIRING("pairing"),//配单
	ORDERS_WORKTYPE_PACKAGING("packaging"),//包装
	ORDERS_WORKTYPE_SENDOUT("sendout"),//发货
	
	//shipped_order表状态
	SHIPPED_ORDER_STATUS_DISTRIBUTE("distribute"),//已分配运单
	SHIPPED_ORDER_STATUS_PRINT("print"),//未打单
	SHIPPED_ORDER_STATUS_PRINTED("printed"),//已经打单
	SHIPPED_ORDER_STATUS_CANCEL("cancel"),//取消订单
	SHIPPED_ORDER_STATUS_PACKAGED("packaged"),//已经包装
	SHIPPED_ORDER_STATUS_SENDOUTED("sendouted"),//已经发货
	SHIPPED_ORDER_STATUS_EXCEPTION("exception"),//异常订单
	
	//箱子状态表
	SHIPPED_BOX_TRANSITSTATUS_INIT("init"),//初始化的箱子状态
	SHIPPED_BOX_TRANSITSTATUS_BAG_IN("bag_in"),//箱子已经入袋
	SHIPPED_BOX_TRANSITSTATUS_SEND_INCAR("send_incar"),//已经送货上车
	SHIPPED_BOX_TRANSITSTATUS_SEND_OUTCAR("send_outcar"),//已经送货下车
	SHIPPED_BOX_TRANSITSTATUS_INAIR("inair"),//已经空运发货
	SHIPPED_BOX_TRANSITSTATUS_ACCEPT_INCAR("accept_incar"),//已经接货下车
	SHIPPED_BOX_TRANSITSTATUS_INSTORE("instore"),//已经网点入库
	SHIPPED_BOX_TRANSITSTATUS_OUTSTORE("outstore"),//已经网点出库
	
	//订单状态
	WORKLINKORDER_STATUS_PENDING("pending"),
	WORKLINKORDER_STATUS_FINISH("finish"),
	
	WORKBATCH_WORKTYPE_PRINT("print"),//打单类型
	WORKBATCH_WORKTYPE_BILLSADDED("billsadded"),//单据入盒
	WORKBATCH_WORKTYPE_GOODSADDED("goodsadded"),//货品上架
	WORKBATCH_WORKTYPE_PAIRING("pairing"),//配单
	WORKBATCH_WORKTYPE_PACKAGING("packaging"),//包装
	WORKBATCH_WORKTYPE_SENDOUT("sendout"),//发货
	
	WORKBATCH_STATUS_PENDING("pending"),//等待
	WORKBATCH_STATUS_WORKING("working"),//进行中
	
	//预约入库单状态
	PREORDER_STATUS_NORMAL("0"),//预约
	PREORDER_STATUS_SEND("1"),//发货
	PREORDER_STATUS_CHECK("2"),//点收
	PREORDER_STATUS_CANEL("3"),//取消
	
	//在途类型
	GOODS_ON_THE_WAY_PRE("1"),//预约在途
	//订单类型
	WAYBILL_TYPE_EBILL("ebill"),//电子面单
	WAYBILL_TYPE_CBILL("cbill"),//普通面单
	//库存类型
	STOCK_TYPE_COMMON("1"),//普通库存
	STOCK_TYPE_ALLOT("2"),//虚拟调拨库存
	//库存的存放类型
	BOX_TYPE_COMMON("common"),//普通
	BOX_TYPE_PREPKG("prepkg"),//预包装
	//订单类型 多件、单件
	ORDER_TYPE_SINGLE("single"),
	ORDER_TYPE_MULTIPLE("multiple"),
	//订单状态
	ORDER_STATUS_OK("ok"),
	ORDER_STATUS_CANCEL("cancel"),
	//订单处理状态
	ORDER_DISPATCHFLAG_YES("1"),
	ORDER_DISPATCHFLAG_NO("0"),
	;
	
	
	private String status;
	
	public String getStatus() {
		return status;
	}

	StatusEnums(String status){
		this.status=status;
	}
}
